package com.cu.employmentmanagementsystem.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

/**
 * 简历-招聘信息对应表(StudentRecruitment)实体类
 *
 * @author makejava
 * @since 2024-07-01 15:46:07
 */
@Data
public class StudentRecruitment implements Serializable
{
    private static final long serialVersionUID = -80855404611582432L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 简历id
     */
    private Long resumeId;
    /**
     * 招聘信息id
     */
    private Long recruitmentId;
    /**
     * 投递时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deliveryTime;
    /**
     * -1:等待中；0:失败；1:成功
     */
    private Integer deliveryStatus;

}

